package com.ruoyi.cat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 媒体广告管理对象 ad_medium
 * 
 * @author ruoyi
 * @date 2025-05-13
 */
public class AdMedium extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 媒体名称 */
    @Excel(name = "媒体名称")
    private String mediaName;

    /** 1 文章 2活动 */
    @Excel(name = "1 文章 2活动")
    private String position;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    /** 计划投放量 */
    @Excel(name = "计划投放量")
    private Long advertisingVolume;

    /** 弹窗时间 */
    @Excel(name = "弹窗时间")
    private Long popTime;

    /** 已完成数量 */
    @Excel(name = "已完成数量")
    private Long completed;

    /** 0正常 3结束 */
    @Excel(name = "0正常 3结束")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMediaName(String mediaName) 
    {
        this.mediaName = mediaName;
    }

    public String getMediaName() 
    {
        return mediaName;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setAdvertisingVolume(Long advertisingVolume) 
    {
        this.advertisingVolume = advertisingVolume;
    }

    public Long getAdvertisingVolume() 
    {
        return advertisingVolume;
    }
    public void setPopTime(Long popTime) 
    {
        this.popTime = popTime;
    }

    public Long getPopTime() 
    {
        return popTime;
    }
    public void setCompleted(Long completed) 
    {
        this.completed = completed;
    }

    public Long getCompleted() 
    {
        return completed;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mediaName", getMediaName())
            .append("position", getPosition())
            .append("url", getUrl())
            .append("advertisingVolume", getAdvertisingVolume())
            .append("popTime", getPopTime())
            .append("completed", getCompleted())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .toString();
    }
}
